# GGPLOT2 MAP THEME

theme_map = function(base_size=15, base_family="")
{
  require(grid)
  theme_osa(base_size=base_size, base_family=base_family) %+replace%
    theme(axis.line=element_blank(),
          axis.text.x=element_blank(),
          axis.text.y=element_blank(),
          axis.ticks=element_blank(),
          axis.title.x=element_blank(),
          axis.title.y=element_blank(),
          legend.justification = c(0,0), # bottom of box
          legend.position      = c(0,0), # bottom of picture
          panel.background=element_blank(),
          panel.border=element_rect(colour = "grey90", size = 1, fill = NA),
          panel.grid.major=element_blank(),
          panel.grid.minor=element_blank(),
          panel.margin=unit(0, "lines"),
          plot.background=element_blank()
    )
}
